package com.punai.dataanalysis.srlib.service;

import com.punai.config.domain.ConfigMaterialInfo;
import com.punai.dataanalysis.cblib.bo.MMAInfo;
import com.punai.dataanalysis.srlib.bo.MaterialDetailBo;
import com.punai.dataanalysis.srlib.domain.AnalysisMaterialMachinePriceRecord;
import com.punai.dataanalysis.srlib.vo.GovernmentPriceVo;
import com.punai.dataanalysis.srlib.vo.MaterialMachinePriceVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MaterialMachinePriceService {

    public static final String type = "gl_1";

    Boolean saveRecord(MaterialMachinePriceVo vo);

    List<AnalysisMaterialMachinePriceRecord> getRecordList(MaterialMachinePriceVo vo);

    Boolean deleteRecord(MaterialMachinePriceVo vo);

    List<MaterialMachinePriceVo> getInfoList(MaterialMachinePriceVo vo);

    String uploadInfo(String recordId, MultipartFile uploadFile);

    List<MaterialMachinePriceVo> downloadTemplete(List<String> selIds, String addressId);

    List<MaterialMachinePriceVo> getMainTableList(MaterialMachinePriceVo vo);

    List<MaterialMachinePriceVo.ExportMianTable> downloadMaterialmachinePL(MaterialMachinePriceVo vo);

    List<MaterialMachinePriceVo> getTableListByMaterialId(MaterialMachinePriceVo vo);

    List<String> getTjtMapByMaterialId(MaterialMachinePriceVo vo);

    MaterialDetailBo getMMAInfo(MaterialMachinePriceVo vo);

    ConfigMaterialInfo selectById(String id);
}
